package l.l.w.UnderstandingJVM.ClassLoad;

/**
 * Created by llw on 2017/12/25.
 */
public class TestLoad1 {
    public static void main(String[] args) {
//        System.out.println(SuperClass.value);
//        new SubClass();
        SuperClass[] classes = new SuperClass[10];

    }
}
class SuperClass{
    static{
        System.out.println("SuperClass init!");
    }
    public static int value = 123;
}
class SubClass extends SuperClass{
    static{
        System.out.println("SubClass init!");
    }
}